Skip to main content

previewHeight

Type

property

Summary

The height of the camera's resolution.

Syntax

get the previewHeight of <widget>
set the previewHeight of <widget> to <pixels>

Description

Set the previewHeight to specify the number of pixels in the height component of the barcode scanning camera preview resolution. If the exact value is not available, the best matching value is selected.

note

The camera preview size will always corresponds to the aspect ratio of an associated full picture size,

note

The camera preview size is always assumed to be in landscape.

note

This property does not effect the size of the widget.

property: previewWidth, previewFPS

Compatibility and Support

OS

android